*{
    padding: 0;
    margin: 0;
    list-style: none;
}
.xiehContent{
    width: 450px;
    height: 602px;
    border: 1px solid red;  
    margin-left: 10px;
    margin-top: 10px;
    &>.box{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
//      border: 1px solid yellowgreen;
        position: relative;
        &>.show{
            width: 450px;
            height: 450px;
            border: 1px solid chocolate;
            position: relative;
            cursor: none;
            &>.mask{
                width: 200px;
                height: 200px;
                position: absolute;
                top: 0px;
                left: 0px;
                background-color:rgba(255,235,59,0.5);
                // 不当做事件目标
                pointer-events: none;
                display: none;
            }
            &>.mask.active{
                display: block;
            }
        }
        &>.enlarge{
            width: 500px;
            height: 500px;
            border: 1px solid rebeccapurple;
            position: absolute;
            top: 0px;
            left: 105%;
            background-image: url(../img/iPhone12_big.jpg);
            background-size: 800px 800px;
            background-repeat: no-repeat;
            display: none;
        }
        &>.enlarge.active{
            display: block;
        }
        &>.list{
            width: 450px;
            height: 150px;
            border-top: 2px solid #333;
            box-sizing: border-box;
            padding: 20px 20px;
            white-space: nowrap;
            // 这里自己定义多出来的照片怎么处理
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
           ul{
            //    border: 2px solid magenta;
               white-space: nowrap;
               li{
                   width: 60px;
                   height: 60px;                 
                   display: inline-block;
                   border: 1px solid grey; 
                   cursor: pointer;
               }
               li.active{
                   border: 1px solid red; 
               }

           }
            
        }

    }

}

// 清除浮动
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}



::-webkit-scrollbar {
    width: 5px; //对垂直流动条有效
    height: 5px; //对水平流动条有效
    }
    
    //定义滚动条的轨道颜色、内阴影及圆角
    ::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: transparent;
    border-radius: 100px;
    }
    
    
    //定义滑块颜色、内阴影及圆角
    ::-webkit-scrollbar-thumb{
    border-radius: 100px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #0D9FE3;
    }
    
    //定义两端按钮的样式
    ::-webkit-scrollbar-button {
    background-color:transparent;
    }
    
    //定义右下角汇合处的样式
    ::-webkit-scrollbar-corner {
    background:khaki;
    }
